//
//  Shader.h
//  Sinnca Engine v2
//
//  Created by Ryan Oldis on 8/18/11.
//  Copyright 2011 Sinnca Studios. All rights reserved.
//

#ifndef Sinnca_Engine_v2_Shader_h
#define Sinnca_Engine_v2_Shader_h

#include "global.h"

class shader
{
public:
	
	void loadShaders(std::string vs, std::string fs);
	
	void initShaders();
	
	void useShader();
	void unBindShader();
	
private:
	
	const GLchar* vsText;
	const GLchar* fsText;
	
	std::string vsFile;
	std::string fsFile;
	
	unsigned int shaderProgram;
	unsigned int vertexShader;
	unsigned int fragmentShader;
	
};

#endif
